package com.yjt.oauth.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * @author 曾智平
 * @Description: 自定义返回token数据
 * @date 2021/5/2810:43
 */
@Data
@Builder
@ApiModel("返回登录认证数据")
public class Oauth2TokenVO {
    @ApiModelProperty(value = "访问令牌")
    private String token;
    @ApiModelProperty(value = "刷新令牌")
    private String refreshToken;
    @ApiModelProperty(value = "访问令牌头前缀")
    private String tokenHead;
    @ApiModelProperty(value = "有效时间（秒）")
    private int expiresIn;
}
